package com.woniushop.entity;

import java.util.Date;

/**
 * 订单实体类
 * 
 * @author 崔新雄
 *
 */
public class OrderForm {

	private Integer oid;// 订单id
	private Integer uid;// 用户id;创建该订单的商城用户id
	private Integer aid;// 地址id
	private Date odate;// 订单创建日期
	private Integer ostate;// 订单状态;1：购物车；2：已提交未付款；3：已付款未发货；4：已发货未收货；5：已收货，订单完成；6：订单异常
	private String ono;// 订单号

	private String uname;// 用户昵称;创建该订单的商城用户昵称
	private String uaccount;// 用户账号;创建该订单的商城用户账号
	private String aphone;// 收件人电话号码
	private String acode;// 收件人邮政编码
	private String ainfo;// 收件人地址
	private String aname;// 收件人姓名

	public Integer getOid() {
		return oid;
	}

	public void setOid(Integer oid) {
		this.oid = oid;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getAid() {
		return aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public Date getOdate() {
		return odate;
	}

	public void setOdate(Date odate) {
		this.odate = odate;
	}

	public Integer getOstate() {
		return ostate;
	}

	public void setOstate(Integer ostate) {
		this.ostate = ostate;
	}

	public String getOno() {
		return ono;
	}

	public void setOno(String ono) {
		this.ono = ono;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUaccount() {
		return uaccount;
	}

	public void setUaccount(String uaccount) {
		this.uaccount = uaccount;
	}

	public String getAphone() {
		return aphone;
	}

	public void setAphone(String aphone) {
		this.aphone = aphone;
	}

	public String getAcode() {
		return acode;
	}

	public void setAcode(String acode) {
		this.acode = acode;
	}

	public String getAinfo() {
		return ainfo;
	}

	public void setAinfo(String ainfo) {
		this.ainfo = ainfo;
	}

	public String getAname() {
		return aname;
	}

	public void setAname(String aname) {
		this.aname = aname;
	}

	@Override
	public String toString() {
		return "OrderForm [oid=" + oid + ", uid=" + uid + ", aid=" + aid + ", odate=" + odate + ", ostate=" + ostate
				+ ", ono=" + ono + ", uname=" + uname + ", uaccount=" + uaccount + ", aphone=" + aphone + ", acode="
				+ acode + ", ainfo=" + ainfo + ", aname=" + aname + "]";
	}

}
